<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
</head>
<body>
<div id="qrcode" style="position: absolute;top:50%;left: 50%;transform: translate(-50%,-50%)"></div>
<input type="hidden" id="url" value="${url}"/>
</body>
<script src="${allServerPath}static/js/jquery-2.1.4.min.js"></script>
<script src="${allServerPath}static/js/jquery.qrcode.min.js"></script>

<script>
    $("#qrcode").qrcode({
        width: 300,
        height: 300,
        text: '${url}'
    })
</script>
</html>
